.banner {
  height: 700px;
  overflow: hidden;
  position: relative;

  .bgImg {
    background-image: url(http://img.mrshao520.cn/qit/bA.jpg);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    overflow: hidden;
    transform: scale(1.06);
    transition: all 1s ease 0s;
    width: 100%;

    &:hover {
      transform: scale(1);
    }

    .bgTitle {
      display: flex;
      align-items: center;
      flex-direction: column;
      background-color: rgba(28, 28, 28, 0.7);
      width: 100%;
      height: 100%;
      font-family: 微软雅黑;
      justify-content: center;

      h1 {
        color: #fff;
        font-size: 32px;
        line-height: 32px;
        font-weight: 500;
        margin-bottom: 0.5em;
      }

      h3 {
        color: #fff;
        font-family: arial;
        font-size: 20px;
        line-height: 20px;
      }
    }
  }

  .mySwiper {
    z-index: 2;
    bottom: 40px;
    position: absolute;
    right: 10%;
    width: 600px;
    // height: 200px;

    .swiper-slide {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 200px;
      cursor: pointer;
      font-size: 16px;
      background: rgba(0, 0, 0, 0.5);
      border: 1px solid #fff;
      color: #fff;
      display: flex;
      flex-direction: column;
      align-items: center;

      img {
        margin-top: 15px;
        width: 70px;
        height: 70px;
      }

      p {
        padding: 0 15px;
        // margin: 20px 0;
        text-align: left;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        font-size: 14px;
        // height: 70px;
        overflow: hidden;
        font-family: 微軟正黑體;
      }

      h3 {
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        // height: 95px;
        font-weight: 500;
        color: rgb(99, 99, 99);
        background-color: #fff;
        // line-height: 95px;
        // line-height: 50px;
        width: 100%;
        margin: 0;
      }
    }
  }
}

.home {
  .mySnapshot {
    width: 100%;
    color: #888;
    overflow: hidden;
    padding: 20px 0;

    .w {
      margin: 0 auto;

      h4 {
        color: #888;
        font-size: 20px;
        font-weight: 400;
        text-align: center;
      }

      p {
        // width: 800px;
        width: 1000px;
        font-size: 14px;
        line-height: 30px;
        text-indent: 2em;
        margin-bottom: 1em;
      }

      .contact {
        display: flex;
        align-items: center;
      }
    }
  }

  .wrapper {
    height: 100px;
    position: relative;

    .parallax-img {
      align-items: center;
      background-attachment: fixed;
      background-image: url("~@/assets/static/img/bB.jpg");
      background-position: 50%;
      background-repeat: no-repeat;
      background-size: cover;
      color: #fa541c;
      display: flex;
      font-size: 20px;
      height: 100%;
      justify-content: flex-end;
      padding: 10px;
    }

    &::after {
      background-color: rgba(0, 0, 0, 0.6);
      content: "";
      display: block;
      height: 100%;
      left: 0;
      position: absolute;
      top: 0;
      width: 100%;
    }

    .r {
      overflow: hidden;
      width: 400px;
      height: 600px;
      position: absolute;
      right: 0;
      bottom: 50px;
      z-index: 1;

      img {
        width: 100%;
        position: absolute;
        bottom: 0;
        right: -80px;
      }
    }
  }

  .hr {
    width: 100%;
    height: 1px;
    background-color: #eee;
    margin: 24px 0;
  }

  .mynote {
    color: #888;
    font-size: 19px;

    .w {
      margin: 0 auto;
      text-align: center;

      h4 {
        font-weight: 500;
        margin-bottom: 1.1em;
      }

      p {
        position: relative;
        margin-bottom: 1.5em;
        color: rgb(19, 194, 194);
        font-size: 14px;
        font-weight: 400;

        &::after {
          content: "";
          display: block;
          position: absolute;
          top: 50%;
          left: 60%;
          width: 100px;
          height: 1px;
          background-color: rgba(185, 181, 181, 0.5);
        }

        &::before {
          content: "";
          display: block;
          position: absolute;
          top: 50%;
          right: 60%;
          width: 100px;
          height: 1px;
          background-color: rgba(185, 181, 181, 0.5);
        }
      }
    }
  }

  // 文章列表
  .list {
    .w {
      overflow: hidden;
      // height: 500px;
      display: flex;
      margin: 0 auto;
      flex-wrap: wrap;
      // justify-content: space-between;

      .li {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-right: 25px;
        cursor: pointer;
        border: 1px solid #f0f0f0;
        margin-bottom: 20px;
        width: 280px;

        &:nth-child(4n) {
          margin-right: 0;
        }

        .imgbox {
          width: 100%;
          align-items: center;
          display: flex;
          height: 140px;
          justify-content: center;
          overflow: hidden;

          img {
            vertical-align: middle;
            width: 100%;
            border-radius: 2px 2px 0 0;
          }
        }

        .box {
          padding: 24px;

          h5 {
            font-weight: 600;
            font-size: 17px;
            color: #09f;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
          }

          p {
            line-height: 1.5715;
            list-style: none;
            margin-bottom: 1em;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            display: -webkit-box;
            font-size: 14px;
            max-height: 70px;
            overflow: hidden;
            font-family: 微軟正黑體;
          }

          span {
            font-size: 12px;
            color: rgb(39, 175, 182);
          }
        }

        .option {
          width: 100%;
          // height: 48px;

          ul {
            width: 100%;
            // height: 100%;
            border-top: 1px solid #f0f0f0;
            display: flex;

            li {
              display: flex;
              align-items: center;
              justify-content: center;
              color: rgba(0, 0, 0, 0.45);
              // text-align: center;
              margin: 12px 0;
              flex: 1;

              &:nth-child(-n + 2) {
                border-right: 1px solid #f0f0f0;
              }
            }
          }
        }
      }
    }

    .more {
      cursor: pointer;
      text-align: center;
      line-height: 35px;
      color: #1890ff;
    }
  }
}
